package com.ddwl.schema.bo.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * @author Fu Zhaohui
 * @version 1.0.0
 * @date 2019/4/30 14:48
 */
@ApiModel(description = "用户代理调整Bo")
@Setter
@Getter
public class UserAgentBo {

    @NotNull(message = "用户ID为空")
    @ApiModelProperty("ID")
    private String userId;

    @ApiModelProperty("直接上级ID")
    private String immediateSuperior;

    @ApiModelProperty(value = "代理等级 0普通用户 1个人代理 2店铺代理 3区域合伙人 4永久合伙人", example = "0")
    private Integer profitLevel;


}
